import { terser } from 'rollup-plugin-terser'
import babel from '@rollup/plugin-babel';
import resolve from '@rollup/plugin-node-resolve';

export default {
  input: "./src/ingrun/cache/index.js",
  output: {
    file: "./dist/ircache.js",
    format: 'cjs'
  },
  plugins: [
    resolve(),
    babel({
      babelHelpers: "runtime",
      exclude: 'node_modules/**'
    })
    , terser()
  ]
};